<?php
/**
 * Groups module for XOOPS
 *
 * You may not change or alter any portion of this comment or credits
 * of supporting developers from this source code or any supporting source code 
 * which is considered copyrighted (c) material of the original comment or credit authors.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * @copyright       The Groups Project http://code.google.com/p/groupsforxoops/
 * @license         http://www.fsf.org/copyleft/gpl.html GNU public license
 * @package         groups
 * @since           2.3.0
 * @author          Hui Xiao < xh.8326@gmail.com >
 * @version         $Id: index.php Sat Jul 18 12:39:21 CST 2009
 */

include "conf.inc";

$category_handler = xoops_getmodulehandler("category");
$groups_handler = xoops_getmodulehandler("group");

$xoopsOption["xoops_pagetitle"] = $xoopsModuleConfig["groupstitle"] ;
$xoopsOption["template_main"] = "groups_index.html";
include "header.php";

$_cat = $category_handler->getCatSelect();
include (dirname(__FILE__)."/include/form.search.php");

$xoopsTpl->assign(array("categories"=>$_cat));

include "footer.php";
?>